Sound effect processing method and device, plug-in unit manager and sound effect plug-in unit

ABSTRACT

Provided are a sound effect processing method and device, a plug-in unit manager and a sound effect plug-in unit, which belong to the field of information technology processing. The sound effect processing method comprises: invoking a pre-loaded plug-in unit manager to acquire a sound effect processing parameter supported by each preloaded sound effect plug-in unit ( 101 ); acquiring a sound effect configuration file pre-configured by the plug-in unit manager ( 102 ); displaying sound effect index identifiers corresponding to various sound effect modes ( 103 ); according to a selected sound effect index identifier, determining a selected sound effect mode, and according to an adjustment interface, acquiring adjusted parameter control data ( 104 ); sending the adjusted parameter control data to a selected sound effect plug-in unit ( 105 ); and invoking the plug-in unit manager to send data to be processed to the selected sound effect plug-in unit, and according to the adjusted parameter control data, conducting sound effect processing on the data to be processed by the selected sound effect plug-in unit ( 106 ). By means of the present invention, data to be processed is processed by a sound effect plug-in unit according to adjusted parameter control data, so that sound effect processing is realized without installing hardware. Moreover, for different operating systems, it is not necessary to re-add codes, so that costs of the sound effect processing are reduced, and an application range of the sound effect processing is expanded. In addition, the sound effect can be modified by only modifying a sound effect configuration file, thereby increasing the efficiency of sound effect processing.

CROSS REFERENCE TO RELATED APPLICATION

The present disclosure claims priority to Chinese Patent Application No.201310633280.5, titled “SOUND EFFECT PROCESSING METHOD AND DEVICE,PLUG-IN MANAGER AND SOUND EFFECT PLUG-IN”, filed on Nov. 29, 2013 withthe State Intellectual Property Office of the People's Republic ofChina, which is incorporated by reference in its entirety herein.

TECHNICAL FIELD

The present disclosure relates to the field of information processingtechnology, and in particular, to a sound effect processing method, asound effect processing device, a plug-in manager and a sound effectplug-in.

BACKGROUND

With the continuous development of information processing technology,demand for data processing is growing rapidly, and more and more dataprocessing methods have arisen. In order to obtain plentiful playingeffects, sound effect processing usually needs to be performed on mediadata. In a process of sound effect processing, the media data is usuallyprocessed to obtain a desired effect. A problem which draws people'sattention is how to perform sound effect processing conveniently andquickly.

At present, there are two sound effect processing methods. The firstmethod includes: installing an audio card having a sound effectprocessing function, loading and installing a driver applicable to theaudio card and the current operating system, accessing a sound effectfunction page of the installed driver, and adjusting a parameter or aswitch manually to activate the sound effect and accomplish the soundeffect processing. The second method includes: in an IDE (IntegratedDevelopment Environment), adding sound effect codes to codes of a soundeffect processing program, where the sound effect codes are configuredto display on a user interface controls for obtaining a sound effectprocessing parameter and performing the sound effect processing based onthe obtained sound effect processing parameter; compiling, by a codecompiler corresponding to the IDE, codes of the sound effect processingprogram with the added sound effect codes, into object codes which canbe executed in the IDE, so as to generate an executable program; andrunning the executable program, obtaining the sound effect processingparameter via the displayed controls, and performing the sound effectprocessing by the executable program based on the obtained sound effectprocessing parameter.

However, in the first method, an audio card, which is applicable to thecurrent operating system and has a sound effect processing function,needs to be installed, and thus the cost of the sound effect processingis increased. Moreover, since the installed driver needs to beapplicable to the current operating system, the same driver can not beapplied to different operating systems, thus limiting an applicationscope of this sound effect processing. Furthermore, other applicationsusually need to process the original data. However, after original datato be processed is preprocessed by the audio card, data with a soundeffect is output. As a result, the original data can not be processed byother applications any more. Thus the application scope of the firstsound effect processing method has some limitations.

In the second method, for different sound effect processing programs,the processes of adding sound effect codes to codes of different soundeffect processing programs and re-compiling codes need to be executedrepeatedly, which results in a high cost of the sound effect processing.In addition, since different IDEs correspond to different codecompilers, a compilation failure may occur when the same sound effectcode is complied in different IDEs, which further increases the cost ofthe sound effect processing.

SUMMARY

In view of the above, a sound effect processing method and device, aplug-in manager and a sound effect plug-in are provided according toembodiments of the present disclosure. Specific technical solutions aredescribed as follows.

In an aspect, a sound effect processing method is provided, whichincludes:

invoking a pre-loaded plug-in manager to obtain a sound effectprocessing parameter supported by each pre-loaded sound effect plug-in,where the number of the sound effect plug-in is at least one;

obtaining a sound effect configuration file pre-configured by theplug-in manager, where the sound effect configuration file includesparameter control data in at least one sound effect mode and a soundeffect index identifier corresponding to a respective sound effect mode;

displaying the sound effect index identifier corresponding to therespective sound effect mode, and determining one displayed sound effectindex identifier as a selected sound effect index identifier;

determining a selected sound effect mode based on the selected soundeffect index identifier, displaying an adjustment interface of theparameter control data in the selected sound effect mode, and obtainingadjusted parameter control data from the displayed adjustment interface;

invoking the plug-in manager to select a sound effect plug-in based onthe sound effect processing parameter supported by each sound effectplug-in, and sending the adjusted parameter control data to the selectedsound effect plug-in; and

invoking the plug-in manager to send data to be processed to theselected sound effect plug-in, and performing, by the selected soundeffect plug-in, the sound effect processing on the data to be processed,based on the adjusted parameter control data.

In another aspect, a sound effect processing device is provided, whichincludes:

a first invoking module, configure to invoke a pre-loaded plug-inmanager to obtain a sound effect processing parameter supported by eachpre-loaded sound effect plug-in, where the number of the sound effectplug-in is at least one;

a first obtaining module, configured to obtain a sound effectconfiguration file pre-configured by the plug-in manager, where thesound effect configuration file includes parameter control data in atleast one sound effect mode and a sound effect index identifiercorresponding to a respective sound effect mode;

a first displaying module, configured to display the sound effect indexidentifier corresponding to the respective sound effect mode;

a first determining module, configured to determine one displayed soundeffect index identifier as a selected sound effect index identifier;

a second determining module, configured to determine a selected soundeffect mode based on the selected sound effect index identifier;

a second displaying module, configured to display an adjustmentinterface of the parameter control data in the selected sound effectmode;

a second obtaining module, configured to obtain adjusted parametercontrol data from the displayed adjustment interface;

a second invoking module, configured to invoke the plug-in manager toselect a sound effect plug-in based on the sound effect processingparameter supported by each sound effect plug-in, and to send theadjusted parameter control data to the selected sound effect plug-in;and

a third invoking module, configured to invoke the plug-in manager tosend data to be processed to the selected sound effect plug-in, and toperform by the selected sound effect plug-in the sound effect processingon the data to be processed based on the adjusted parameter controldata.

A plug-in manager is further provided, which includes:

a first obtaining module, configured to obtain a sound effect processingparameter supported by each pre-loaded sound effect plug-in, where thenumber of the sound effect plug-in is at least one;

a selecting module, configured to select a sound effect plug-in, basedon the sound effect processing parameter supported by each sound effectplug-in;

a second obtaining module, configured to obtain adjusted parametercontrol data;

a first sending module, configured to send the adjusted parametercontrol data to the selected sound effect plug-in; and

a second sending module, configured to send data to be processed to theselected sound effect plug-in, and to perform by the selected soundeffect plug-in sound effect processing on the data to be processed basedon the adjusted parameter control data.

A sound effect plug-in is further provided, which includes:

a sending module, configured to send a supported sound effect processingparameter to a plug-in manager, and to select by the plug-in manager asound effect plug-in for processing data to be processed, based on thereceived sound effect processing parameter supported by at least onesound effect plug-in;

a first receiving module, configured to receive the data to be processedsent by the plug-in manager;

a second receiving module, configured to receive adjusted parametercontrol data sent by the plug-in manager; and

a processing module, configured to perform sound effect processing onthe data to be processed based on the adjusted parameter control data.

By invoking the pre-loaded plug-in manager, the pre-configured soundeffect configuration file is obtained. After the adjustment interface ofthe parameter control data in the selected sound effect mode, which isincluded in the sound effect configuration file, is displayed, theadjusted parameter control data is obtained. The plug-in manager isinvoked to send the adjusted parameter control data to the sound effectplug-in that supports the sound effect processing parameter. And thedata to be processed is processed by the sound effect plug-in based onthe adjusted parameter control data. In this way, the sound effectprocessing can be realized without the need for installing hardware. Inaddition, not only the technical solutions are suitable for differentoperating systems, but also there is no need to add codes again.Therefore, the cost of the sound effect processing is reduced, and theapplication scope of the sound effect processing is expanded.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to illustrate technical solutions of embodiments of the presentdisclosure more clearly, drawings used in the description of theembodiments are introduced briefly hereinafter. Apparently, the drawingsdescribed herein merely show some embodiments of the present disclosure,and other drawings can be obtained by those skilled in the art based onthese drawings shown herein without any inventive efforts.

FIG. 1 is a flow chart of a sound effect processing method according toan embodiment of the present disclosure;

FIG. 2 is a flow chart of a sound effect processing method according toanother embodiment of the present disclosure;

FIG. 3 is a schematic diagram of a display interface of a sound effectindex identifier provided in an embodiment of the present disclosure;

FIG. 4 is a schematic diagram of an adjustment interface provided in anembodiment of the present disclosure;

FIG. 5 is a schematic structural diagram of a sound effect processingdevice according to an embodiment of the present disclosure;

FIG. 6 is a schematic structural diagram of a sound effect processingdevice according to another embodiment of the present disclosure;

FIG. 7 is a schematic structural diagram of a sound effect processingdevice according to further another embodiment of the presentdisclosure;

FIG. 8 is a schematic structural diagram of a sound effect processingdevice according to still further another embodiment of the presentdisclosure;

FIG. 9 is a schematic structural diagram of a plug-in manager accordingto an embodiment of the present disclosure;

FIG. 10 is a schematic structural diagram of a plug-in manager accordingto another embodiment of the present disclosure;

FIG. 11 is a schematic structural diagram of a plug-in manager accordingto further another embodiment of the present disclosure;

FIG. 12 is a schematic structural diagram of a sound effect plug-inaccording to an embodiment of the present disclosure; and

FIG. 13 is a schematic structural diagram of a terminal according to anembodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

In order to make the object, the technical solutions and the advantagesof the present disclosure more clear, the present disclosure will befurther described in detail hereinafter in conjunction with thedrawings.

A sound effect processing method is provided according to an embodimentof the present disclosure. Referring to FIG. 1, a workflow of the methodincludes steps 101 to 106.

In step 101, a pre-loaded plug-in manager is invoked to obtain a soundeffect processing parameter supported by each pre-loaded sound effectplug-in. The number of the sound effect plug-in is at least one.

Further, before the pre-loaded plug-in manager is invoked to obtain thesound effect processing parameter supported by each pre-loaded soundeffect plug-in, the method includes:

loading the plug-in manager and at least one sound effect plug-in.

Further, the plug-in manager is compiled to be a corresponding dynamiclibrary file, and each sound effect plug-in is compiled to be acorresponding dynamic library file; and

loading the plug-in manager and at least one sound effect plug-inincludes:

loading the dynamic library file corresponding to the plug-in managerand the dynamic library file corresponding to the respective soundeffect plug-in.

Further, before the pre-loaded plug-in manager is invoked to obtain thesound effect processing parameter supported by each pre-loaded soundeffect plug-in, the method includes:

invoking the plug-in manager to configure the sound effect processingparameter supported by each loaded sound effect plug-in, determiningparameter control data in a sound effect mode corresponding to therespective sound effect plug-in based on the sound effect processingparameter supported by each sound effect plug-in, and setting a soundeffect index identifier corresponding to the respective sound effectmode; and determining the parameter control data in the respective soundeffect mode and the sound effect index identifier corresponding to therespective sound effect mode as a configuration result to be writteninto a sound effect configuration file, and storing the sound effectconfiguration file.

Further, after the plug-in manager is invoked to determine the parametercontrol data in the respective sound effect mode and the sound effectindex identifier corresponding to the respective sound effect mode asthe configuration result to be written into the sound effectconfiguration file, the method includes:

updating the configuration result in the sound effect configuration fileconfigured by the plug-in manager, and invoking the plug-in manager tostore the updated sound effect configuration file.

In step 102, the sound effect configuration file pre-configured by theplug-in manager is obtained, where the sound effect configuration fileincludes the parameter control data in at least one sound effect modeand the sound effect index identifier corresponding to the respectivesound effect mode.

In step 103, the sound effect index identifier corresponding to therespective sound effect mode is displayed, and one displayed soundeffect index identifier is determined as a selected sound effect indexidentifier.

In step 104, a selected sound effect mode is determined based on theselected sound effect index identifier, an adjustment interface of theparameter control data in the selected sound effect mode is displayed,and adjusted parameter control data is obtained from the displayedadjustment interface.

In step 105, the plug-in manager is invoked to select a sound effectplug-in, based on the sound effect processing parameter supported by therespective sound effect plug-in, and the adjusted parameter control datais sent to the selected sound effect plug-in.

In step 106, the plug-in manager is invoked to send data to be processedto the selected sound effect plug-in, and the sound effect processing isperformed by the selected sound effect plug-in on the data to beprocessed based on the adjusted parameter control data.

Based on the sound effect processing method according to the embodimentof the present disclosure, the data to be processed is processed by thesound effect plug-in based on the adjusted parameter control data, sothat the sound effect processing can be realized without the need forinstalling hardware. In addition, not only the technical solutions aresuitable for different operating systems, but also there is no need toadd codes again. Therefore, the cost of the sound effect processing isreduced, and the application scope of the sound effect processing isexpanded. In addition, change of sound effect can be realized by simplymodifying the sound effect configuration file, thereby improving theefficiency of sound effect processing.

A sound effect processing method is provided according to anotherembodiment of the present disclosure. The sound effect processing methodaccording to this embodiment of the present disclosure will be describedin detail with reference with what was described for the aboveembodiment. Referring to FIG. 2, a workflow of the method according tothe present embodiment includes steps 201 to 208.

In step 201, a plug-in manager and at least one sound effect plug-in areloaded.

For this step, a specific structure of the plug-in manager and aspecific structure of the sound effect plug-in can be found in thedisclosure below, and will not be described herein. In order that theloaded plug-in manager and the sound effect plug-in can be used fordifferent sound effect processing programs, the plug-in manager may becompiled in advance to be a corresponding dynamic library file, and eachsound effect plug-in may be compiled in advance to be a correspondingdynamic library file. In this way, when loading the plug-in manager andthe at least one sound effect configuration file, only the dynamiclibrary file corresponding to the plug-in manager and the dynamiclibrary file corresponding to the respective sound effect plug-in needto be loaded, which not only avoids an operation of adding code but alsoreduces the cost of the sound effect processing. Moreover, the dynamiclibrary file corresponding to the plug-in manager and the dynamiclibrary file corresponding to the respective sound effect plug-in can beused for different operating systems, thus expanding the applicationscope of the sound effect processing. In a specific example, the dynamiclibrary file corresponding to the plug-in manager and the dynamiclibrary file corresponding to the respective sound effect plug-in may becomplied and obtained via a compiler corresponding to the currentoperating system. It should be noted that different operating systemsmay need different compilers, and the binary contents and extensions offilename of the generated dynamic library files may be different fordifferent operating systems.

It should be noted that after step 201 in which the plug-in manager andthe at least one sound effect plug-in are loaded, a next step 202 may beexecuted directly when the method according to the embodiment of thepresent disclosure is performed for the next time, without the need forexecuting step 201 again. If the current operating system is changed, acompiler corresponding to the operating system after change is requiredto compile the plug-in manager to be a corresponding dynamic libraryfile and to compile each sound effect plug-in to be a correspondingdynamic library file, thus dispensing with the need for executing step201.

In step 202, the plug-in manager is invoked to configure a sound effectconfiguration file.

Specifically, the process of configuring the sound effect configurationfile by the plug-in manager includes, but is not limited to: configuringa sound effect processing parameter supported by each sound effectplug-in loaded, determining parameter control data in a sound effectmode corresponding to the respective sound effect plug-in based on thesound effect processing parameter supported by each sound effectplug-in, and setting a sound effect index identifier corresponding tothe respective sound effect mode; and determining the parameter controldata in the respective sound effect mode and the sound effect indexidentifier corresponding to the respective sound effect mode as aconfiguration result to be written into the sound effect configurationfile.

The sound effect processing parameter includes, but is not limited to:an audio format, such as sampling frequency, the number of channels,frame length and sampling depth.

One sound effect plug-in corresponds to one sound effect mode, and theparameter control data in the sound effect mode corresponding to onesound effect plug-in refers to a value range of the sound effectprocessing data supported by the sound effect plug-in, i.e., a valuedomain of the sound effect processing parameter. One sound effect modecorresponds to one sound effect index identifier. Therefore, in case ofmultiple sound effect modes, sound effect index identifierscorresponding to the sound effect modes may be used for searching forand loading the sound effect modes. Specific content of the sound effectindex identifier is not limited in this embodiment. In a specificexample, in order to facilitate searching for and loading the soundeffect mode, the name of the sound effect mode may be used as thespecific content of the corresponding sound effect index identifier.

Of course, in addition to the above specific content of the sound effectindex identifier, other contents may be used as the specificcorresponding content of the sound effect index identifier.

In an embodiment, in the process of configuring the sound effectconfiguration file by the plug-in manager, a set of specific values ofthe parameter control data in the sound effect mode corresponding to thesound effect plug-in may be obtained for each sound effect plug-in bydebugging, and can be used as default values of the parameter controldata.

In addition, after the parameter control data in the respective soundeffect mode and the sound effect index identifier corresponding to therespective sound effect mode are determined as the configuration resultand the configuration result is then written into the sound effectconfiguration file, the configuration of the sound effect configurationfile is completed. The configured sound effect configuration file may bedirectly applied to different sound effect processing programs so as toachieve the same sound effect processing effect, without the need forconfiguring the sound effect configuration file again. In order thatother sound effect processing programs can directly use or update theconfigured sound effect configuration file, a process of invoking theplug-in manager to configure the sound effect configuration file in themethod according to the embodiment of the present disclosure includes,but is not limited to: invoking the plug-in manager to store the soundeffect configuration file. A storage location of the sound effectconfiguration file is not limited herein. In a specific example, thesound effect configuration file can be locally stored in a memory of theplug-in manager, or can be stored in other locations such as a cloudmemory.

In order to facilitate understanding, an example in which three soundeffect plug-ins are pre-loaded will be described. The three sound effectplug-ins are plug-in 1, plug-in 2 and plug-in 3, respectively. Theplug-in 1 corresponds to sound effect mode 1, the plug-in 2 correspondsto sound effect mode 2, and the plug-in 3 corresponds to sound effectmode 3. Sound effect processing parameters supported by the plug-in 1are configured to be parameter 11, parameter 12 and parameter 13. Soundeffect processing parameters supported by the plug-in 2 are configuredto be parameter 21, parameter 22 and parameter 23. Sound effectprocessing parameters supported by the plug-in 3 are configured to beparameter 31, parameter 32 and parameter 33. Value ranges of theparameter 11, the parameter 12 and the parameter 13 are determined to befrom 110 to 119, from 120 to 129 and from 130 to 139, respectively.Value ranges of the parameter 21, the parameter 22 and the parameter 23are determined to be from 210 to 219, from 220 to 229 and from 230 to239, respectively. Value ranges of the parameter 31, the parameter 32and the parameter 33 are determined to be from 310 to 319, from 320 to329 and from 330 to 339, respectively. A sound effect index identifiercorresponding to the sound effect mode 1 is set to be sound effect 1. Asound effect index identifier corresponding to the sound effect mode 2is set to be sound effect 2. A sound effect index identifiercorresponding to the sound effect mode 3 is set to be sound effect 3.The sound effect processing parameters and the sound effect indexidentifiers described above are written into the sound effectconfiguration file, and the sound effect configuration file is storedlocally.

Further, after the parameter control data in the respective sound effectmode and the sound effect index identifier corresponding to therespective sound effect mode are determined as the configuration resultand the configuration result is written into the sound effectconfiguration file, the method further includes, but is not limited to:updating the configuration result in the sound effect configuration fileconfigured by the plug-in manager, and invoking the plug-in manager tostore the updated sound effect configuration file. For the process ofupdating the configuration result of the sound effect configuration fileconfigured by the plug-in manager, reference can be made to the aboveprocess of configuring the sound effect configuration file by theplug-in manager, and no repeated discussion is provided herein. Byupdating the configuration result of the sound effect configuration fileconfigured by the plug-in manager, a sound effect is modified withoutthe need for compiling codes again.

It should be noted that, after step 202 in which the plug-in manager isinvoked to configure the sound effect configuration file, a next step203 may be executed directly when the method according to the embodimentof the present disclosure is performed for the next time, without theneed for executing step 202 again. If an operation such as modifyingsound effect is required, the configuration result in the sound effectconfiguration file configured by the plug-in manager needs to beupdated, thus step 202 needs to be performed again.

In step 203, the pre-loaded plug-in manager is invoked to obtain thesound effect processing parameter supported by the respective pre-loadedsound effect plug-in.

For this step, the way how the plug-in manager obtains the sound effectprocessing parameter supported by the respective pre-loaded sound effectplug-in is not limited herein. In a specific example, the plug-inmanager may send a message for obtaining the sound effect processingparameter to the respective pre-loaded sound effect plug-in, and therespective pre-loaded sound effect plug-in, after receiving the messagefor obtaining the sound effect processing parameter, sends the soundeffect processing parameter supported by the respective plug-in managerto the plug-in manager respectively.

In addition, while obtaining the sound effect processing parametersupported by the respective pre-loaded sound effect plug-in, the plug-inmanager may also obtain information, such as the number, name, unit andvalue domain of the sound effect processing parameter supported by therespective pre-loaded sound effect plug-in. Since one sound effectplug-in corresponds to one sound effect mode, information such as thenumber and name of the sound effect mode corresponding to the respectivepre-loaded sound effect plug-in may be also obtained.

The way of invoking the pre-loaded plug-in manager is also not limitedherein. In a specific example, the way of invoking includes, but is notlimited to: sending invoking information to the plug-in manager so as toinvoke the pre-loaded plug-in manager.

In step 204, the sound effect configuration file pre-configured by theplug-in manager is obtained. The sound effect configuration fileincludes the parameter control data of at least one sound effect modeand the sound effect index identifier corresponding to the respectivesound effect mode.

For this step, since the plug-in manager has already been invoked toconfigure the sound effect configuration file in the above step 202, thesound effect configuration file pre-configured by the plug-in managermay be obtained directly. In addition, since the parameter control datain the respective sound effect mode and the sound effect indexidentifier corresponding to the respective sound effect mode aredetermined as the configuration result in the process of configuring thesound effect configuration file, and the configuration result is writteninto the sound effect configuration file, the obtained sound effectconfiguration file configured in advance includes the parameter controldata of at least one sound effect mode and the sound effect indexidentifier corresponding to the respective sound effect mode.

In step 205, the sound effect index identifier corresponding to therespective sound effect mode is displayed, and one displayed soundeffect index identifier is determined as a selected sound effect indexidentifier.

For this step, the way of displaying the sound effect index identifiercorresponding to the respective sound effect mode is not limited herein.

Further, since the sound effect index identifier corresponding to therespective sound effect mode is displayed, the selected sound effectindex identifier can be determined by detecting which sound effect indexidentifier is selected. The way of detecting the selected sound effectindex identifier is not limited herein. In a specific example, after thesound effect index identifier corresponding to the respective soundeffect mode is displayed, a user may select a sound effect indexidentifier with a click operation of a mouse. Therefore, detecting theselected sound effect index identifier includes, but is not limited to:detecting a click operation of a mouse, and determining a sound effectindex identifier clicked by the mouse as the selected sound effect indexidentifier. Of course, in addition to the above way of detecting theselected sound effect index identifier, other ways such as detecting anaction of screen touch may also be used.

In order to facilitate understanding, a display interface of the soundeffect index identifiers illustrated in FIG. 3 will be described as anexample. Three sound effect index identifiers, i.e., sound effect 1,sound effect 2 and sound effect 3, are displayed on the displayinterface of the sound effect index identifiers. It is detected that thesound effect 2 is selected, thus the sound effect 2 is determined as theselected sound effect index identifier.

In step 206, a selected sound effect mode is determined based on theselected sound effect index identifier, an adjustment interface of theparameter control data of the selected sound effect mode is displayed,and adjusted parameter control data is obtained from the displayedadjustment interface.

For this step, since one sound effect mode corresponds to one soundeffect index identifier in the pre-configured sound effect configurationfile, the sound effect mode corresponding to the selected sound effectindex identifier can be searched for in the obtained sound effectconfiguration file and the obtained sound effect mode is determined asthe selected sound effect mode.

Further, after the selected sound effect mode is determined, theadjustment interface of the parameter control data in the selected soundeffect mode may also be displayed. The adjustment interface may providean adjustment operation on the parameter control data for the user. Aspecific form of the adjustment interface of the parameter control datais not limited herein. In a specific example, the sound effectprocessing parameter and the parameter control data may be displayed onthe adjustment interface of the parameter control data, and anadjustment button can be also displayed. The user may adjust theparameter control data by operating the adjustment button.

Of course, in addition to the above specific form of the adjustmentinterface of the parameter control data, the adjustment interface of theparameter control data may be also displayed in other forms.

In an embodiment, when the adjustment interface of the parameter controldata in the selected sound effect mode is displayed, a default value ofthe parameter control data in the selected sound effect mode may be alsodisplayed so that the selected sound effect mode can be achieved withoutthe need of adjusting the parameter control data.

In order to obtain more plentiful sound effect processing effects, themethod according to the embodiment of the present disclosure furtherincludes a step of obtaining the adjusted parameter control data fromthe displayed adjustment interface of the parameter control data in theselected sound effect mode. The adjusted parameter control data may beobtained by obtaining an adjusted position of the adjustment button, orby obtaining input parameter control data, or in other ways, with nospecific limitation herein.

In order to facilitate understanding, an adjustment interfaceillustrated in FIG. 4 (1) will be described as an example. Sound effect2 is determined to be the selected sound effect mode based on a selectedsound effect identifier 2, and then sound effect processing parameterssupported by sound effect 2 are displayed on the adjustment interface,i.e., parameter 21, parameter 22 and parameter 23. Value ranges ofparameter 21, parameter 22 and parameter 23 are displayed, which arefrom 210 to 219, from 220 to 229 and from 230 to 239, respectively.Default values of parameter control data in sound effect 2 aredisplayed, that is, the value of parameter 21 is 214, the value ofparameter 22 is 224, and the value of parameter 23 is 234. An adjustmentbutton corresponding to the respective parameter is displayed on theadjustment interface, and the value of the parameter control data may beincreased or reduced by adjusting the position of the adjustment button.The adjustment interface of adjusted parameter control data in theselected sound effect mode is illustrated in FIG. 4 (2). The adjustedposition of the adjustment button is detected and is made to correspondto the value of one parameter control data, and the value is determinedas the adjusted parameter control data.

In step 207, the plug-in manager is invoked to select a sound effectplug-in, based on the sound effect processing parameter supported by therespective sound effect plug-in, and the adjusted parameter control datais sent to the selected sound effect plug-in.

For this step, since the pre-loaded plug-in manager has been invoked toobtain the sound effect processing parameter supported by the respectivepre-loaded sound effect plug-in, the plug-in manager may select a soundeffect plug-in which supports the adjusted parameter control data, basedon a correspondence between the sound effect plug-in and the soundeffect processing parameter, and then send the adjusted parametercontrol data to the selected sound effect plug-in.

In step 208, the plug-in manager is invoked to send data to be processedto the selected sound effect plug-in, and the sound effect processing isperformed by the selected sound effect plug-in on the data to beprocessed based on the adjusted parameter control data.

Specifically, the process of sending the data to be processed to theselected sound effect plug-in by the plug-in manager includes, but isnot limited to: selecting, by the plug-in manager, a frame of digitalsignal of data to be processed from a queue of data to be processed thatis stored temporarily and locally, and sending the selected digitalsignal to the selected sound effect plug-in. A length of the frame ofdigital signal is not limited herein, and may be set based on asrequired by actual applications.

Further, since the selected sound effect plug-in is selected based onthe sound effect processing parameter supported by the respective soundeffect plug-in, the selected sound effect plug-in can support theadjusted parameter control data corresponding to the sound effectprocessing parameter, and perform the sound effect processing on thedata to be processed based on the adjusted parameter control data afterreceiving the data to be processed sent from the plug-in manager. Aspecific process is not limited herein, which includes, but is notlimited to: performing signal processing on the data to be processed,based on the adjusted parameter control data, so as to enable theprocessed data to exhibit a corresponding sound effect when beingplayed. In a specific example, the sound effect plug-in may include adigital signal processor so as to realize signal processing. The way ofperforming signal processing on the data using the digital signalprocessor is not limited herein. For details, reference can be made toconventional ways of signal processing.

With the sound effect processing method according to the embodiments ofthe present disclosure, the data to be processed is processed by thesound effect plug-in based on the adjusted parameter control data, sothat the sound effect processing can be realized without the need forinstalling hardware. In addition, not only the technical solutions aresuitable for different operating systems, but also there is no need toadd codes again. Therefore, the cost of the sound effect processing isreduced, and the application scope of the sound effect processing isexpanded. In addition, change of sound effect can be realized by simplymodifying the sound effect configuration file, thereby improving theefficiency of sound effect processing.

As shown in FIG. 5, a sound effect processing device is providedaccording to an embodiment of the present disclosure, which includes:

a first invoking module 501, configure to invoke a pre-loaded plug-inmanager to obtain a sound effect processing parameter supported by arespective pre-loaded sound effect plug-in, where the number of thesound effect plug-in is at least one;

a first obtaining module 502, configured to obtain a sound effectconfiguration file pre-configured by the plug-in manager, where thesound effect configuration file includes parameter control data in atleast one sound effect mode and a sound effect index identifiercorresponding to a respective sound effect mode;

a first displaying module 503, configured to display the sound effectindex identifier corresponding to the respective sound effect mode;

a first determining module 504, configured to determine one displayedsound effect index identifier as a selected sound effect indexidentifier;

a second determining module 505, configured to determine a selectedsound effect mode based on the selected sound effect index identifier;

a second displaying module 506, configured to display an adjustmentinterface of the parameter control data in the selected sound effectmode;

a second obtaining module 507, configured to obtain adjusted parametercontrol data from the displayed adjustment interface;

a second invoking module 508, configured to invoke the plug-in managerto select a sound effect plug-in based on the sound effect processingparameter supported by the respective sound effect plug-in, and to sendthe adjusted parameter control data to the selected sound effectplug-in; and

a third invoking module 509, configured to invoke the plug-in manager tosend data to be processed to the selected sound effect plug-in so thatthe selected sound effect plug-in performs the sound effect processingon the data to be processed based on the adjusted parameter controldata.

As shown in FIG. 6, in another embodiment, the device further includes:

a loading module 510, configured to load the plug-in manager and the atleast one sound effect plug-in.

In an embodiment, the plug-in manager is compiled to be a correspondingdynamic library file, and each sound effect plug-in is compiled to be acorresponding dynamic library file; and

the loading module 510 is configured to load the dynamic library filecorresponding to the plug-in manager and the dynamic library filecorresponding to the respective sound effect plug-in.

As shown in FIG. 7, in another embodiment, the device further includes:

a fourth invoking module 511, configured to invoke the plug-in managerto configure the sound effect processing parameter supported by therespective sound effect plug-in loaded, to determine the parametercontrol data in the sound effect mode corresponding to the respectivesound effect plug-in based on the sound effect processing parametersupported by the respective sound effect plug-in and set the soundeffect index identifier corresponding to the respective sound effectmode, and to determine the parameter control data in the respectivesound effect mode and the sound effect index identifier corresponding tothe respective sound effect mode as a configuration result to be writteninto the sound effect configuration file, and to store the sound effectconfiguration file.

As shown in FIG. 8, in another embodiment, the device further includes:

an updating module 512, configured to update the configuration result inthe sound effect configuration file configured by the plug-in manager;and

a fifth invoking module 513, configured to invoke the plug-in manager tostore the updated sound effect configuration file.

To sum up, with the sound effect processing devices according to theembodiments of the present disclosure, the data to be processed isprocessed by the sound effect plug-in based on the adjusted parametercontrol data so that the sound effect processing can be realized withoutthe need for installing hardware. In addition, not only the technicalsolutions are suitable for different operating systems, but also thereis no need to add codes again. Therefore, the cost of the sound effectprocessing is reduced, and the application scope of the sound effectprocessing is expanded. In addition, change of sound effect can berealized by simply modifying the sound effect configuration file,thereby improving the efficiency of sound effect processing.

As shown in FIG. 9, a plug-in manager is provided according to anembodiment of the present disclosure, which includes:

a first obtaining module 901, configured to obtain a sound effectprocessing parameter supported by a respective pre-loaded sound effectplug-in, where the number of the sound effect plug-in is at least one;

a selecting module 902, configured to select a sound effect plug-inbased on the sound effect processing parameter supported by a respectivesound effect plug-in;

a second obtaining module 903, configured to obtain adjusted parametercontrol data;

where the adjusted parameter control data may be obtained by a soundeffect configuring device, and the adjusted parameter control dataobtained by the sound effect configuring device is obtained by thesecond obtaining module 903. For the way in which the sound effectconfiguring device obtains the adjusted parameter control data, pleaserefer to the specific steps in the method described above, which is notlimited herein;

a first sending module 904, configured to send the adjusted parametercontrol data to the selected sound effect plug-in; and

a second sending module 905, configured to send data to be processed tothe selected sound effect plug-in so that the selected sound effectplug-in can perform sound effect processing on the data to be processedbased on the adjusted parameter control data.

As shown in FIG. 10, in another embodiment, the plug-in manager furtherincludes:

a configuring module 906, configured to configure the sound effectprocessing parameter supported by a respective sound effect plug-inloaded;

a determining module 907, configured to determine parameter control datain a sound effect mode corresponding to the respective sound effectplug-in based on the sound effect processing parameter supported by therespective sound effect plug-in;

a setting module 908, configured to set a sound effect index identifiercorresponding to a respective sound effect mode;

a writing module 909, configured to determine the parameter control datain the respective sound effect mode and the sound effect indexidentifier corresponding to the respective sound effect mode as aconfiguration result to be written into a sound effect configurationfile; and a storing module 910, configured to store the sound effectconfiguration file.

As shown in FIG. 11, in another embodiment, the plug-in manager furtherincludes:

a third obtaining module 911, configured to obtain the updated soundeffect configuration file; and

the storing module 910 is further configured to store the updated soundeffect configuration file.

Based on the plug-in manager according to the embodiment of the presentdisclosure, the data to be processed is processed by the sound effectplug-in based on the adjusted parameter control data, so that the soundeffect processing can be realized without the need for installinghardware. In addition, not only the technical solutions are suitable fordifferent operating systems, but also there is no need to add codesagain. Therefore, the cost of the sound effect processing is reduced,and the application scope of the sound effect processing is expanded. Inaddition, change of sound effect can be realized by simply modifying thesound effect configuration file, thereby improving the efficiency ofsound effect processing.

As shown in FIG. 12, a sound effect plug-in is provided according to anembodiment of the present disclosure, which includes:

a sending module 1201, configured to send a supported sound effectprocessing parameter to a plug-in manager so that the plug-in managercan select a sound effect plug-in for processing data to be processedbased on the received sound effect processing parameter supported by atleast one sound effect plug-in;

a first receiving module 1202, configured to receive the data to beprocessed sent by the plug-in manager;

a second receiving module 1203, configured to receive adjusted parametercontrol data sent by the plug-in manager; and

a processing module 1204, configured to perform sound effect processingon the data to be processed based on the adjusted parameter controldata.

Based on the sound effect plug-in according to the embodiment of thepresent disclosure, the data to be processed is processed by the soundeffect plug-in based on the adjusted parameter control data, so that thesound effect processing can be realized without the need for installinghardware. In addition, not only the technical solutions are suitable fordifferent operating systems, but also there is no need to add codesagain. Therefore, the cost of the sound effect processing is reduced,and the application scope of the sound effect processing is expanded. Inaddition, change of sound effect can be realized by simply modifying thesound effect configuration file, thereby improving the efficiency ofsound effect processing.

As shown in FIG. 13, a terminal is provided according to an embodimentof the present disclosure. FIG. 13 is a schematic structural diagram ofthe terminal according to the embodiment of the present disclosure. Theterminal may be used to implement the sound effect processing methoddescribed above. Specifically:

A terminal 1300 may include a RF (Radio Frequency) circuit 110, a memory120 including one or more computer readable storage media, an input unit130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi(Wireless Fidelity) module 170, a processor 180 including one or moreprocessing cores, a power supply 190, etc. It can be understood by thoseskilled in the art that the structure of the terminal illustrated inFIG. 13 is not a limitation to the terminal. The terminal may includemore or less components than those illustrated in FIG. 13, or acombination of some components, or a different arrangement ofcomponents.

The RF circuit 110 may be configured to receive and send signals duringinformation receiving and sending or during a call, and particularly, toreceive downlink information from a base station and then send it to oneor more processors 180 for processing, and to send uplink data to a basestation. Typically, the RF circuit includes, but is not limited to, anantenna, at least one amplifier, a tuner, one or more oscillators, asubscriber identity module (SIM) card, a transceiver, a coupler, a LNA(Low Noise Amplifier), a duplexer, and so on. In addition, the RFcircuit 110 may also communicate with other devices by means of wirelesscommunication or network. The wireless communication may use anycommunication standard or protocol, which includes, but is not limitedto, GSM (Global System of Mobile communication), GPRS (General PacketRadio Service), CDMA (Code Division Multiple Access), WCDMA (WidebandCode Division Multiple Access), LTE (Long Term Evolution), email, SMS(Short Messaging Service), and so on.

The memory 120 may be configured to store software programs and modules,and the processor 180 performs various functional applications and dataprocessing by running the software programs and modules stored in thememory 120. The memory 120 may include a program storing region and adata storing region, wherein the program storing region can store anoperating system and an application program which is required for atleast one function (such as an audio playing function and an imageplaying function); and the data storing region can store data created byuse of the terminal 1300 (such as audio data and a phone book). Inaddition, the memory 120 may include a high speed random access memory,and may also include a non-volatile memory such as at least one magneticdisk storage device or a flash memory, or other volatile solid-statememories. Correspondingly, the memory 120 may further include a memorycontroller configured to provide access to the memory 120 for theprocessor 180 and the input unit 130.

The input unit 130 may be configured to receive input number orcharacter information, and to generate a signal related to user'ssetting and function control, which is input by a keyboard, a mouse, ajoystick, or a trackball, or via an optical input. Specifically, theinput unit 130 may include a touch sensitive surface 131 and anotherinput device 132. The touch sensitive surface 131, also referred to as atouch screen or a touch panel, can collect user's touch operations on ornear the touch sensitive surface (such as use's operations on the touchsensitive surface 131 or near the touch sensitive surface 131 using anyproper object or accessory such as finger or stylus), and drive acorresponding connection device based on a preset program. Optionally,the touch sensitive surface 131 may include a touch detecting device anda touch controlling device. The touch detecting device detects a touchposition of the user, detects a signal generated by touch operation, andsends the signal to the touch controlling device; the touch controllingdevice receives touch information from the touch detecting device,converts the touch information into coordinates of the touch point,sends the coordinates to the processor 180, and receives a command fromthe processor 180 and executes the command. In addition, the touchsensitive surface 131 may be of various types such as resistive type,capacitive type, infrared type or surface acoustic wave type. Inaddition to the touch sensitive surface 131, the input unit 130 mayfurther include another input device 132. Specifically, the other inputdevice 132 may include, but is not limited to, one or more of a physicalkeyboard, a function key (such as a volume control key or a switch key),a trackball, a mouse, a joystick and so on.

The display unit 140 may be configured to display information input bythe user or information provided to the user, and various graphic userinterfaces of the terminal 1300. The graphic user interfaces may consistof graphs, texts, icons, videos and any combination thereof. The displayunit 140 may include a display panel 141. Optionally, the display panel141 may be configured in a form of LCD (Liquid Crystal Display), or OLED(Organic Light-Emitting Diode) or the like. Furthermore, the touchsensitive surface 131 may cover the display panel 141, and when thetouch sensitive surface 131 detects a touch operation on or near thetouch sensitive surface 131, the touch sensitive surface 131 sendsinformation to the processor 180 to determine the type of touch event;then the processor 180 provides a corresponding visual output on thedisplay panel 141 based on the type of touch event. In FIG. 13, althoughthe touch sensitive surface 131 and the display panel 141 are twoseparate components used to realize the input function and the outputfunction, the touch sensitive surface 131 and the display panel 141 maybe integrated to realize the input function and the output function insome embodiments.

The terminal 1300 may further include at least one sensor 150, such asan optical sensor, a motion sensor and other sensors. Specifically, theoptical sensor may include an ambient light sensor and a proximitysensor, the ambient light sensor may adjust brightness of the displaypanel 141 based on brightness of ambient light, and the proximity sensormay close the display panel 141 and/or backlight in a case that theterminal 1300 moves to the ear. As one of the motion sensors, a gravityacceleration sensor may detect magnitude of an acceleration in each ofthe directions (typically, three axes), detect the magnitude anddirection of gravity while being stationary, recognize a gesture of themobile phone (such as switching between portrait and landscapeorientation, relevant game or calibration of gesture of a magnetometer),and vibratingly recognize relevant functions (such as a pedometer or aclick), etc. Other sensors which may be provided for the terminal 1300,such as a gyroscope, a barometer, a hygrometer, a thermometer or aninfrared sensor, are not described herein.

The audio circuit 160, a speaker 161 and a microphone 162 may provide anaudio interface between the user and the terminal 1300. The audiocircuit 160 may send an electrical signal, converted from received audiodata, to the speaker 161, and then the speaker 161 converts it into anaudio signal for output. On the other hand, the microphone 162 convertsthe collected audio signal to an electrical signal, the electricalsignal is received by the audio circuit 160 and then converted intoaudio data, and after the audio data is output to the processor 180 andprocessed, the audio data is for example sent to another terminal viathe RF circuit 110, or the audio data is output to the memory 120 forfurther processing. The audio circuit 160 may further include anearphone jack, so as to provide communications between a peripheralearphone and the terminal 1300.

WiFi belongs to a short-distance wireless transmission technology. Theterminal 1300 may facilitate the user in receiving and sending emails,browsing a webpage and accessing stream media via the WiFi module 170which provides wireless broadband internet access for the user. Althoughthe WiFi module 170 is illustrated in FIG. 13, it can be understoodthat, the WiFi module 170 is not a necessary constituent of the terminal1300, and may be omitted as required without altering the scope of theessence of the present disclosure.

The processor 180 is a control center of the terminal 1300. It connectsvarious parts of the mobile phone through various interfaces andcircuits, and performs various functions of the terminal 1300 and dataprocessing, by running or executing the software programs and/or modulesstored in the memory 120 and invoking data stored in the memory 120,thereby realizing overall monitoring of the mobile phone. The processor180 may include one or more processing cores. The processor 180 mayintegrate an application processor and a modem processor, wherein theapplication processor is configured to process operating systems, userinterfaces and applications, and the modem processor is configured toprocess wireless communications. It can be understood that it is alsopossible that the above modem processor is not integrated into theprocessor 180.

The terminal 1300 further includes the power supply 190 (such as abattery) configured to power various components. The power supply may belogically connected with the processor 180 via a power supply managementsystem, so that functions such as charging and discharging managementand power consumption management can be realized via the power supplymanagement system. The power supply 190 may further include one or moredirect current or alternating current power supplies, a rechargingsystem, a power fault detection circuit, a power adapter or inverter, apower status indicator, and so on.

While not shown in the figure, the terminal 1300 may further include acamera, a bluetooth module, and so on, which will not be describedherein. Specifically, in the embodiment, the display unit in theterminal is a touch screen display. The terminal further includes amemory and one or more programs. The one or more programs are stored inthe memory and are configured to be executed by one or more processors.The one or more programs include instructions for performing thefollowing operations:

invoking a pre-loaded plug-in manager to obtain a sound effectprocessing parameter supported by a respective pre-loaded sound effectplug-in, where the number of the sound effect plug-in is at least one;

obtaining a sound effect configuration file pre-configured by theplug-in manager, where the sound effect configuration file includesparameter control data in at least one sound effect mode and a soundeffect index identifier corresponding to a respective sound effect mode;

displaying the sound effect index identifier corresponding to therespective sound effect mode, and determining one the displayed soundeffect index identifiers as a selected sound effect index identifier;

determining a selected sound effect mode based on the selected soundeffect index identifier, displaying, an adjustment interface of theparameter control data in the selected sound effect mode, and obtainingadjusted parameter control data from the displayed adjustment interface;

invoking the plug-in manager to select a sound effect plug-in based onthe sound effect processing parameter supported by the respective soundeffect plug-in, and sending the adjusted parameter control data to theselected sound effect plug-in; and invoking the plug-in manager to senddata to be processed to the selected sound effect plug-in, andperforming, by the selected sound effect plug-in, the sound effectprocessing on the data to be processed based on the adjusted parametercontrol data.

If the above description is taken as a first possible implementation,then in a second possible implementation provided based on the firstpossible implementation, the memory of the terminal further includesinstructions for executing the following operations:

before the pre-loaded plug-in manager is invoked to obtain the soundeffect processing parameter supported by the respective pre-loaded soundeffect plug-in, the operations further includes:

loading the plug-in manager and the at least one sound effect plug-in.

In a third possible implementation provided based on the second possibleimplementation, the memory of the terminal further includes instructionsfor executing the following operations:

compiling the plug-in manager to be a corresponding dynamic libraryfile, and compiling each sound effect plug-in to be a correspondingdynamic library file; and

loading the plug-in manager and the at least one sound effect plug-inincludes:

loading the dynamic library file corresponding to the plug-in managerand the dynamic library file corresponding to the respective soundeffect plug-in.

In a fourth possible implementation provided based on the first possibleimplementation, the memory of the terminal further includes instructionsfor executing the following operations:

before the pre-loaded plug-in manager is invoked to obtain the soundeffect processing parameter supported by the respective pre-loaded soundeffect plug-in, the operations includes:

invoking the plug-in manager to configure the sound effect processingparameter supported by the respective sound effect plug-in loaded,determining the parameter control data in the sound effect modecorresponding to the respective sound effect plug-in based on the soundeffect processing parameter supported by the respective sound effectplug-in, and setting the sound effect index identifier corresponding tothe respective sound effect mode; and determining the parameter controldata in the respective sound effect mode and the sound effect indexidentifier corresponding to the respective sound effect mode as aconfiguration result to be written into the sound effect configurationfile, and storing the sound effect configuration file.

In a fifth possible implementation provided based on the fourth possibleimplementation, the memory of the terminal further includes instructionsfor executing the following operations:

after the plug-in manager is invoked so as to determine the parametercontrol data in the respective sound effect mode and the sound effectindex identifier corresponding to the respective sound effect mode asthe configuration result to be written into the sound effectconfiguration file, the operations includes:

updating the configuration result in the sound effect configuration fileconfigured by the plug-in manager, and invoking the plug-in manager tostore the updated sound effect configuration file.

To sum up, based on the terminal according to the embodiment of thepresent disclosure, the data to be processed is processed by the soundeffect plug-in based on the adjusted parameter control data, so that thesound effect processing can be realized without the need for installinghardware. In addition, not only the technical solutions are suitable fordifferent operating systems, but also there is no need to add codesagain. Therefore, the cost of the sound effect processing is reduced,and the application scope of the sound effect processing is expanded. Inaddition, change of sound effect can be realized by simply modifying thesound effect configuration file, thereby improving the efficiency ofsound effect processing.

A computer readable storage medium is provided according to anembodiment of the present disclosure. The computer readable storagemedium can be a computer readable storage medium included in the memoryin the above described embodiments; or a separate computer readablestorage medium which is not disposed in a terminal. The computerreadable storage medium stores one or more instructions. The one or moreinstructions are used by one or more processors to implement a soundeffect processing method, which includes:

invoking a pre-loaded plug-in manager to obtain a sound effectprocessing parameter supported by the respective pre-loaded sound effectplug-in, where the number of the sound effect plug-in is at least one;

obtaining a sound effect configuration file pre-configured by theplug-in manager, where the sound effect configuration file includesparameter control data in at least one sound effect mode and a soundeffect index identifier corresponding to the respective sound effectmode;

displaying the sound effect index identifier corresponding to therespective sound effect mode, and determining one displayed sound effectindex identifier as a selected sound effect index identifier;

determining a selected sound effect mode based on the selected soundeffect index identifier, displaying an adjustment interface of theparameter control data in the selected sound effect mode, and obtainingadjusted parameter control data from the displayed adjustment interface;

invoking the plug-in manager to select a sound effect plug-in based onthe sound effect processing parameter supported by the respective soundeffect plug-in, and sending the adjusted parameter control data to theselected sound effect plug-in; and invoking the plug-in manager to senddata to be processed to the selected sound effect plug-in, andperforming, by the selected sound effect plug-in, the sound effectprocessing on the data to be processed based on the adjusted parametercontrol data.

If the above description is taken as a first possible implementation,then in a second possible implementation provided based on the firstpossible implementation, the computer readable storage medium furtherincludes instructions for executing the following operations:

before the pre-loaded plug-in manager loaded is invoked to obtain thesound effect processing parameter supported by the respective pre-loadedsound effect plug-in, the operations further include:

loading the plug-in manager and the at least one sound effect plug-in.

In a third possible implementation provided based on the second possibleimplementation, the computer readable storage medium further includesinstructions for executing the following operations:

compiling the plug-in manager to be a corresponding dynamic libraryfile, and compiling each sound effect plug-in to be a correspondingdynamic library file; and

loading the plug-in manager and the at least one sound effect plug-inincludes:

loading the dynamic library file corresponding to the plug-in managerand the dynamic library file corresponding to the respective soundeffect plug-in.

In a fourth possible implementation provided based on the third possibleimplementation, the computer readable storage medium further includesinstructions for executing the following operations:

before the pre-loaded plug-in manager is invoked to obtain the soundeffect processing parameter supported by the respective pre-loaded soundeffect plug-in, the operations further include:

invoking the plug-in manager to configure the sound effect processingparameter supported by the respective sound effect plug-in loaded,determining the parameter control data in the sound effect modecorresponding to the respective sound effect plug-in based on the soundeffect processing parameter supported by the respective sound effectplug-in, and setting the sound effect index identifier corresponding tothe respective sound effect mode; and determining the parameter controldata in the respective sound effect mode and the sound effect indexidentifier corresponding to the respective sound effect mode as aconfiguration result to be written into the sound effect configurationfile, and storing the sound effect configuration file.

In a fifth possible implementation provided based on the fourth possibleimplementation, the computer readable storage medium further includesinstructions for executing the following operations:

after the plug-in manager is invoked so as to determine the parametercontrol data in the respective sound effect mode and the sound effectindex identifier corresponding to the respective sound effect mode asthe configuration result to be written into the sound effectconfiguration file, the operations further include:

updating the configuration result in the sound effect configuration fileconfigured by the plug-in manager, and invoking the plug-in manager tostore the updated sound effect configuration file.

To sum up, based on the computer readable storage medium according tothe embodiment of the present disclosure, the data to be processed isprocessed by the sound effect plug-in based on the adjusted parametercontrol data, so that the sound effect processing can be realizedwithout the need for installing hardware. In addition, not only thetechnical solutions are suitable for different operating systems, butalso there is no need to add codes again. Therefore, the cost of thesound effect processing is reduced, and the application scope of thesound effect processing is expanded. In addition, change of sound effectcan be realized by simply modifying the sound effect configuration file,thereby improving the efficiency of sound effect processing.

A graphic user interface is provided according to an embodiment of thepresent disclosure. The graphic user interface is applied to a terminalincluding a touch screen display, a memory and one or more processorsconfigured to run one or more programs. The graphic user interfaceincludes:

invoking a pre-loaded plug-in manager to obtain a sound effectprocessing parameter supported by a respective pre-loaded sound effectplug-in, where the number of the sound effect plug-in is at least one;

obtaining a sound effect configuration file pre-configured by theplug-in manager, where the sound effect configuration file includesparameter control data in at least one sound effect mode and a soundeffect index identifier corresponding to a respective sound effect mode;

displaying the sound effect index identifier corresponding to therespective sound effect mode, and determining one displayed sound effectindex identifier as a selected sound effect index identifier;

determining a selected sound effect mode based on the selected soundeffect index identifier, displaying an adjustment interface of theparameter control data in the selected sound effect mode, and obtainingadjusted parameter control data from the displayed adjustment interface;

invoking the plug-in manager to select a sound effect plug-in based onthe sound effect processing parameter supported by the respective soundeffect plug-in, and sending the adjusted parameter control data to theselected sound effect plug-in; and

invoking the plug-in manager to send data to be processed to theselected sound effect plug-in, and performing, by the selected soundeffect plug-in, the sound effect processing on the data to be processedbased on the adjusted parameter control data.

To sum up, based on the graphic user interface according to theembodiment of the present disclosure, the data to be processed isprocessed by the sound effect plug-in based on the adjusted parametercontrol data, so that the sound effect processing can be realizedwithout the need for installing hardware. In addition, not only thetechnical solutions are suitable for different operating systems, butalso there is no need to add codes again. Therefore, the cost of thesound effect processing is reduced, and the application scope of thesound effect processing is expanded. In addition, change of sound effectcan be realized by simply modifying the sound effect configuration file,thereby improving the efficiency of sound effect processing.

It should be noted that, the sound effect processing device, the plug-inmanager and the sound effect plug-in provided in the above embodimentsare illustrated merely in a sense of dividing various functionalmodules; in practical applications, the above functions may be assignedto different functional modules as actually required; that is, theinternal structure of the device may be divided into differentfunctional modules so as to implement all or some of the functionsdescribed above. In addition, the sound effect processing device, theplug-in manager, the sound effect plug-in and the sound effectprocessing method according to the above embodiments belong to the sameconcept. For more details of the implementation, please refer to thedescription of the method embodiments, and a repeated discussion isomitted herein.

It can be understood by those skilled in the art that, all or some ofthe steps in the above embodiments may be implemented by hardware, or byrelated hardware following an instruction from a program. The programmay be stored in a computer readable storage medium, and theabove-mentioned storage medium may be a read-only memory, a magneticdisk or an optical disk, and so on.

Only preferred embodiments of the present disclosure are describedabove, and are not provided for limiting the present disclosure.Changes, equivalents and improvements made within the spirit andprinciple of the present disclosure will fall within the scope ofprotection of the present disclosure.

1. A sound effect processing method, comprising: invoking a pre-loadedplug-in manager to obtain a sound effect processing parameter supportedby the respective pre-loaded sound effect plug-in, wherein the number ofthe sound effect plug-in is at least one; obtaining a sound effectconfiguration file pre-configured by the plug-in manager, wherein thesound effect configuration file comprises parameter control data in atleast one sound effect mode and a sound effect index identifiercorresponding to a respective sound effect mode; displaying the soundeffect index identifier corresponding to the respective sound effectmode, and determining one displayed sound effect index identifier as aselected sound effect index identifier; determining a selected soundeffect mode based on the selected sound effect index identifier,displaying an adjustment interface of the parameter control data in theselected sound effect mode, and obtaining adjusted parameter controldata from the displayed adjustment interface; invoking the plug-inmanager, to select a sound effect plug-in based on the sound effectprocessing parameter supported by the respective sound effect plug-in,and sending the adjusted parameter control data to the selected soundeffect plug-in; and invoking the plug-in manager to send data to beprocessed to the selected sound effect plug-in, and performing, by theselected sound effect plug-in, the sound effect processing on the datato be processed based on the adjusted parameter control data.
 2. Themethod according to claim 1, wherein before invoking the pre-loadedplug-in manager to obtain the sound effect processing parametersupported by the respective pre-loaded sound effect plug-in, the methodcomprises: loading the plug-in manager and at least one sound effectplug-in.
 3. The method according to claim 2, wherein the plug-in manageris compiled to be a corresponding dynamic library file, and therespective sound effect plug-in is compiled to be a correspondingdynamic library file; and loading the plug-in manager and at least onesound effect plug-in comprises: loading the dynamic library filecorresponding to the plug-in manager and the dynamic library filecorresponding to the respective sound effect plug-in.
 4. The methodaccording to claim 1, wherein before invoking the pre-loaded plug-inmanager loaded to obtain the sound effect processing parameter supportedby the respective pre-loaded sound effect plug-in, the method comprises:invoking the plug-in manager to configure the sound effect processingparameter supported by the respective loaded sound effect plug-in;determining the parameter control data in the sound effect modecorresponding to the respective sound effect plug-in based on the soundeffect processing parameter supported by the respective sound effectplug-in; setting the sound effect index identifier corresponding to therespective sound effect mode; determining the parameter control data inthe respective sound effect mode and the sound effect index identifiercorresponding to the respective sound effect mode as a configurationresult to be written into the sound effect configuration file; andstoring the sound effect configuration file.
 5. The method according toclaim 4, wherein after invoking the plug-in manager to determine theparameter control data in the respective sound effect mode and the soundeffect index identifier corresponding to the respective sound effectmode as the configuration result to be written into the sound effectconfiguration file, the method comprises: updating the configurationresult in the sound effect configuration file configured by the plug-inmanager, and invoking the plug-in manager to store the updated soundeffect configuration file.
 6. The method according to claim 4, whereinthe sound effect configuration file or the updated sound effectconfiguration file is stored in a memory of the plug-in manager.
 7. Themethod according to claim 4, wherein the sound effect configuration fileor the updated sound effect configuration file is stored in a cloudmemory.
 8. A sound effect processing device, comprising: a firstinvoking module, configure to invoke a pre-loaded plug-in manager toobtain a sound effect processing parameter supported by a respectivepre-loaded sound effect plug-in, wherein the number of the sound effectplug-in is at least one; a first obtaining module, configured to obtaina sound effect configuration file pre-configured by the plug-in manager,wherein the sound effect configuration file comprises parameter controldata in at least one sound effect mode and a sound effect indexidentifier corresponding to a respective sound effect mode; a firstdisplaying module, configured to display the sound effect indexidentifier corresponding to the respective sound effect mode; a firstdetermining module, configured to determine one displayed sound effectindex identifier as a selected sound effect index identifier; a seconddetermining module, configured to determine a selected sound effect modebased on the selected sound effect index identifier; a second displayingmodule, configured to display an adjustment interface of the parametercontrol data in the selected sound effect mode; a second obtainingmodule, configured to obtain adjusted parameter control data from thedisplayed adjustment interface; a second invoking module, configured toinvoke the plug-in manager, to select a sound effect plug-in based onthe sound effect processing parameter supported by the respective soundeffect plug-in, and send the adjusted parameter control data to theselected sound effect plug-in; and a third invoking module, configuredto invoke the plug-in manager to send data to be processed to theselected sound effect plug-in, wherein the selected sound effect plug-inperforms the sound effect processing on the data to be processed basedon the adjusted parameter control data.
 9. The device according to claim8, further comprising: a loading module, configured to load the plug-inmanager and at least one sound effect plug-in.
 10. The device accordingto claim 9, wherein the plug-in manager is compiled to be acorresponding dynamic library file, and each sound effect plug-in iscompiled to be a corresponding dynamic library file; and the loadingmodule is configured to load the dynamic library file corresponding tothe plug-in manager and the dynamic library file corresponding to therespective sound effect plug-in.
 11. The device according to claim 8,further comprising: a fourth invoking module, configured to invoke theplug-in manager to configure the sound effect processing parametersupported by the respective loaded sound effect plug-in; to determinethe parameter control data in the sound effect mode corresponding to therespective sound effect plug-in based on the sound effect processingparameter supported by the respective sound effect plug-in; and to setthe sound effect index identifier corresponding to the respective soundeffect mode; and to determine the parameter control data in therespective sound effect mode and the sound effect index identifiercorresponding to the respective sound effect mode as a configurationresult to be written into the sound effect configuration file; and tostore the sound effect configuration file.
 12. The device according toclaim 11, further comprising: an updating module, configured to updatethe configuration result in the sound effect configuration fileconfigured by the plug-in manager; and a fifth invoking module,configured to invoke the plug-in manager to store the updated soundeffect configuration file.
 13. The device according to claim 11, whereinthe sound effect configuration file or the updated sound effectconfiguration file is stored in a memory of the plug-in manager.
 14. Thedevice according to claim 11, wherein the sound effect configurationfile or the updated sound effect configuration file is stored in a cloudmemory.
 15. A plug-in manager, comprising: a first obtaining module,configured to obtain a sound effect processing parameter supported bythe respective pre-loaded sound effect plug-in, wherein the number ofthe sound effect plug-in is at least one; a selecting module, configuredto select a sound effect plug-in based on the sound effect processingparameter supported by a respective sound effect plug-in; a secondobtaining module, configured to obtain adjusted parameter control data;a first sending module, configured to send the adjusted parametercontrol data to the selected sound effect plug-in; and a second sendingmodule, configured to send data to be processed to the selected soundeffect plug-in, wherein the selected sound effect plug-in performs soundeffect processing on the data to be processed based on the adjustedparameter control data.
 16. The plug-in manager according to claim 15,further comprising: a configuring module, configured to configure thesound effect processing parameter supported by the respective loadedsound effect plug-in; a determining module, configured to determineparameter control data in a sound effect mode corresponding to arespective sound effect plug-in, based on the sound effect processingparameter supported by the respective sound effect plug-in; a settingmodule, configured to set a sound effect index identifier correspondingto a respective sound effect mode; a writing module, configured todetermine the parameter control data in the respective sound effect modeand the sound effect index identifier corresponding to the respectivesound effect mode, as a configuration result to be written into a soundeffect configuration file; and a storing module, configured to store thesound effect configuration file.
 17. The plug-in manager according toclaim 15, further comprising: a third obtaining module, configured toobtain the updated sound effect configuration file; and the storingmodule is further configured to store the updated sound effectconfiguration file.
 18. The plug-in manager according to claim 16,wherein the sound effect configuration file or the updated sound effectconfiguration file is stored in a cloud memory. 19-20. (canceled)